<div class="form-inline">
    <button class="btn-sm btn-primary" type="submit"><i
                class="fa fa-check"></i>&nbsp;<?php echo isset($submit_button_name) ? $submit_button_name : '查 询'; ?>
    </button>
    <button class="btn-sm btn-default" type="reset"
            onclick="javascript:window.location.href = '<?php echo URL::current(); ?>'"><i
                class="fa fa-repeat"></i> 重 置
    </button>
</div>